

platform :ios, '10.0'
inhibit_all_warnings!
use_frameworks!

# for flutter
flutter_application_path = '../../../gitlab/flutter-modulecenter/module/route_center'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')

workspace 'flutter_app'

target 'flutter_app' do
  
  install_all_flutter_pods(flutter_application_path)

end




# Swift 版本特定三方库的swift 语言版本声明
# post_install do |installer|
#   installer.pods_project.targets.each do |target|
#     if ['KeychainAccess', 'IBAnimatable'].include? target.name
#       target.build_configurations.each do |config|
#         config.build_settings['SWIFT_VERSION'] = '4.2'
#         config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
#       end
#       else
#       target.build_configurations.each do |config|
#         config.build_settings['SWIFT_VERSION'] = '4.2'
#         config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
#       end
#     end
#   end
# end


